package com.example.oversea_home_spring.service;

import com.example.oversea_home_spring.bean.User;


public interface UserService {


    //登录 返回id，role,状态和error
    User login(String account,String password);

    //注册
    int register(User user);

    //用户修改信息
    int updateMyInfo(User user);
}
